package com.fs.groupSeven.service;

import com.fs.groupSeven.pojo.*;

import java.sql.Date;
import java.util.List;

public interface TeachingInformationService {
    List<TeachingInformation> getAllByClassName(String classname);
    List<TeachingInformation> getAllByClassName2(String classname);
    TeachingInformation getAllByCode(String code);
    List<MyTeacherTest> getAllBySubjectId(Integer sid);
    List<MyClassRoomTest> getClassRoom();
    List<MySubjectTest> getSubject(Integer college_id);
    String getClassRoomByClassId(Integer class_id);
    String getSubjectBySid(Integer subject_id);
    List<String> getClassName();

    boolean modifySubject(String oldName,String name,String duration);
    boolean modifySchedule(String time_on, String time_off, String identifier);
    boolean modifyClassroom(Integer class_id,Integer classroom_id);
    boolean modifyOldClassroom(Integer classroom_id);
    boolean deleteClassSubject(Integer class_id,Integer subject_id);
    boolean deleteSchedule(Integer class_id,Integer subject_id);
    boolean insertClassSubject(Integer class_id,Integer subject_id);
    boolean insertSchedule(Integer class_id,Integer subject_id,String time_on, String time_off, String identifier);
}
